//    Copyright (C) Kherty.  All rights reserved.
using OpenLS.Spreadsheet.Internals;

namespace OpenLS.Spreadsheet
{
    class RootGroupBuilder: GroupBuilder
    {
        public RootGroupBuilder(RootGroup rootGroup, GroupFactory groupFactory)
        {
            factory = groupFactory;
            Group = rootGroup;
        }
        internal override RootGroupBuilder Root
        {
            get { return this;}
        }

        public GroupFactory factory;
        public override int Depth
        {
            get { return 0; }
        }
        protected override void ApplyThis()
        {
            
        }
    }

    internal delegate ChildGroup GroupFactory(Group parent, Dimension firstDimension, Dimension lastDimension);
}
